package com.fr.design.plugin.mdnl;

import com.fr.data.impl.Connection;
import com.fr.data.impl.multidimensional.xmla.XMLADatabaseConnection;
import com.fr.design.beans.BasicBeanPane;
import com.fr.design.fun.ConnectionProvider;

/**
 * @author : richie
 * @since : 8.0
 */
public class XMLAConnectionImpl implements ConnectionProvider {
    @Override
    public String nameForConnection() {
        return "XMLA";
    }

    @Override
    public String iconPathForConnection() {
        return "/com/fr/design/images/data/source/jdbcTableData.png";
    }

    @Override
    public Class<? extends Connection> classForConnection() {
        return XMLADatabaseConnection.class;
    }

    @Override
    public Class<? extends BasicBeanPane<? extends Connection>> appearanceForConnection() {
        return XMLAConnectionPane.class;
    }
}
